<template>
  <div id="back-top" @click="backTopClick">
    <slot></slot>
  </div>
</template>

<script>
export default {
  name:'BackTop',
  methods:{
    backTopClick(){
      this.$emit('backTopClick')
    }
  }
}
</script>

<style scoped>
#back-top img{
  width: 43px;
  height: 43px;
}
</style>